package com.kaifamiao.calendar;

import java.util.TimeZone;

public class TimeZoneInstance {

    public static void main(String[] args) {

        TimeZone zone = TimeZone.getDefault();
        System.out.println( zone );

        TimeZone tz = TimeZone.getTimeZone( "Asia/Chongqing" );
        System.out.println( tz );

        String[] IDs = TimeZone.getAvailableIDs();
        for (int i = 0; i < IDs.length; i++) {
            System.out.println( IDs[ i ] );
        }

    }

}
